﻿// 项目：	Guan.CMS.CommandProcessor - Guan.CMS
// 文件名：	CommandResult.cs
// 
// 修改时间：2013-03-06 19:26
// 修改人：	Cooclsee

namespace Guan.CMS.CommandProcessor.Command
{
    public class CommandResult : ICommandResult
    {
        public CommandResult(bool success)
        {
            this.Success = success;
        }

        public CommandResult(bool success, object content)
        {
            this.Success = success;
            this.Content = content;
        }

        public bool Success { get; protected set; }
        public object Content { get; protected set; }
    }
}